home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / lisp / kcl / akcl / akcl.lha / akcl / V / makefile
Makefile  |  1990-03-08  |  3KB  |  147 lines

  1. Changes file for /usr/local/src/kcl/./makefile
  2. Created on Thu Mar  8 09:37:59 1990
  3. Usage \n@s[Original text\n@s|Replacement Text\n@s]
  4. See the file rascal.ics.utexas.edu:/usr2/ftp/merge.c
  5. for a program to merge change files.  Anything not between
  6. "\n@s[" and  "\n@s]" is a simply a comment.
  7. This file was constructed using emacs and  merge.el
  8. Enhancements Copyright (c) W. Schelter All rights reserved.
  9.    by (Bill Schelter)  wfs@carl.ma.utexas.edu 
  10.  
  11.  
  12. ****Change:(orig (19 19 a))
  13. @s[#    To revise KCL, the following command is enough.
  14. #
  15. #        % make
  16.  
  17.  
  18. @s|#    To revise KCL, the following command is enough.
  19. #
  20. #        % make
  21.  
  22. # begin makedefs
  23. AKCLDIR=/usr/public/akcl
  24. SHELL=/bin/sh
  25.  
  26. @s]
  27.  
  28.  
  29. ****Change:(orig (20 20 a))
  30. @s[
  31.  
  32. @s|
  33. # Machine dependent makefile definitions for hp300 running 4.3bsd(mt xinu)
  34.  
  35. LBINDIR=/usr/local/bin
  36.  
  37. OFLAG    =  -O 
  38. LIBS    = -lm -lg 
  39. ODIR_DEBUG= -g
  40.  
  41. # This CC string will be used for compilation of the system,
  42. # and also in the compiler::*cc* variable for later compilation of
  43. # lisp files.
  44.  
  45. CC = gcc -fwritable-strings -msoft-float -DVOL=volatile -I$(AKCLDIR)/o 
  46. MAINDIR = /public/kcl
  47.  
  48. # Enable the fastloading mechanism which does not use ld -A
  49. # requires c/rel_.. machine dependent code.
  50.  
  51. RSYM    = rsym
  52. SFASL    = $(ODIR)/sfasl.o
  53.  
  54. # When using SFASL it is good to have (si::build-symbol-table)
  55. INITFORM=(si::build-symbol-table)
  56.  
  57. # Use symbolic links
  58. SYMB=-s
  59.  
  60. LIBFILES=bsearch.o
  61.  
  62. # the  make to use for saved_kcp the profiler.
  63. KCP=kcp-bsd
  64. # end makedefs
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71. @s]
  72.  
  73.  
  74. ****Change:(orig (29 34 c))
  75. @s[all:    /usr/include/cmpinclude.h
  76.     (cd $(BINDIR); make)
  77.     (cd $(ODIR); make)
  78.     (cd $(LSPDIR); make)
  79.  
  80. @s,    (cd $(CMPDIR); make)
  81.     (cd $(PORTDIR); make)
  82.  
  83. @s|all:   
  84.     make sources
  85.     make command
  86.     (cd $(BINDIR); make all)
  87.     (cd $(ODIR); make all)
  88.     (cd $(LSPDIR); make all)
  89.     (cd $(CMPDIR); make all)
  90.     (cd $(PORTDIR); make saved_kcl)
  91.  
  92. @s]
  93.  
  94.  
  95. ****Change:(orig (37 38 c))
  96. @s[    @echo "su and make cmpinclude.h"
  97.     exit 1
  98.  
  99. @s|    @ if [ "$(SU)" != "SKIP" ] ; then echo "su and make cmpinclude.h" ;\
  100.     exit 1 ; \
  101.     else echo "Warning: ask root to cp $(HDIR)/cmpinclude.h /usr/include/cmpinclude.h" \
  102.     ;fi
  103.  
  104. @s]
  105.  
  106.  
  107. ****Change:(orig (43 43 a))
  108. @s[    cp $(HDIR)/cmpinclude.h /usr/include
  109.  
  110.  
  111.  
  112. @s|    cp $(HDIR)/cmpinclude.h /usr/include
  113.  
  114.  
  115.  
  116.  
  117.  
  118. sources: merge
  119.     make -f Smakefile sources
  120.  
  121. sunview:
  122.     make sources
  123.     merge standard-kcl/unixport/makefile sunv/chang sunv/makefile
  124.     make  "PORTDIR=sunv"
  125.  
  126. command:
  127.     (cd $(PORTDIR); echo "#!/bin/sh" > ../xbin/akcl; \
  128.     echo "`pwd`/saved_kcl `pwd`/" >> ../xbin/akcl)
  129.     chmod 755 xbin/akcl
  130.     rm -f  xbin/kcl ; ln xbin/akcl xbin/kcl
  131.  
  132.  
  133. @s]
  134.  
  135.  
  136. ****Change:(orig (45 48 c))
  137. @s[    (cd $(PORTDIR); echo "#" > /usr/bin/kcl; \
  138.     echo "`pwd`/saved_kcl `pwd`/" >> /usr/bin/kcl)
  139.     chmod 755 /usr/bin/kcl
  140.     
  141.  
  142. @s|    cp xbin/kcl $(LBINDIR)
  143.     (cd doc ; make install "LBINDIR=$(LBINDIR)")
  144.  
  145. @s]
  146.  
  147.